<?php


class Book implements BookInterface
{

    private $page;
    /**
     * @return mixed
     */
    public function turnPage()
    {
        $this->page++;
    }

    /**
     * @return mixed
     */
    public function open()
    {
        $this->page = 1;
    }

    /**
     * @return mixed
     */
    public function getPage()
    {
        return $this->page;
    }
}